package com.wpf.system.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class FieldBookVO {
    //预约
    private Long id;
    private Long fid;
    private Long tid;
    private String name;
    private BigDecimal bookCost;
    private String remark;
    private Integer status;
    private Integer code;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private Long version;
    //场地
    private String locate;
    private String cover;
    private String fieldUsername;
    private String fieldPhone;
    //订单
    private Long oid;
    private String no;
    private BigDecimal ordersCost;
    private Long point;
    private Integer type;
    private Integer ordersStatus;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date ordersTime;
    private Long ordersVersion;
    //用户
    private Long uid;
    private String nid;
    private String username;
    private String phone;
    private Long did;
    //部门
    private String deptName;
    //控制
    private Boolean onclick = false;
}
